577c84
@@ -8289,7 +8289,7 @@
private void mergeJoins(QB qb, QBJoinTree node, QBJoinTree target, int pos, int[
       }
     }
 
-    if ( targetCondn == null ) {
+    if ( targetCondn == null || (nodeCondn.size() != targetCondn.size())) {
       return new ObjectPair(-1, null);
     }
 
